package com.hmy.equipment.service;

import com.hmy.equipment.domain.HmyScrape;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HmyScrapeService {

    /**
    *  * @param null
    * @return
    * @author kdq
    * @date 2024/1/30 18:30
    * @description 刮粪机设备添加
    */

    public int addScrape(HmyScrape hmyScrape);


    /**
    *  * @param null
    * @return
    * @author kdq
    * @date 2024/1/30 18:30
    * @description 刮粪机设备修改
    */
    public int editScrape(HmyScrape hmyScrape);


    /**
    *  * @param null
    * @return
    * @author kdq
    * @date 2024/1/30 22:49
    * @description 查询所有刮粪机设备
    */
    public List<HmyScrape> selectAll(@Param("scrapeCode") String scrapeCode,
                                     @Param("scrapeName") String scrapeName,
                                     @Param("phouseCode") String phouseCode);


    /**
    *  * @param null
    * @return
    * @author kdq
    * @date 2024/1/30 22:49
    * @description 根据id删除单个记录
    */
    public int deleteById(Long[] ids);


    /**
    *  * @param null
    * @return
    * @author kdq
    * @date 2024/2/1 16:00
    * @description 根据id查询自动刮粪机
    */
    public HmyScrape selectById(Long id);

    public HmyScrape findscrapeCode(String scrapeCode);
}
